home *** CD-ROM | disk | FTP | other *** search
/ The Arsenal Files 6 / The Arsenal Files 6 (Arsenal Computer).ISO / os2 / jvw10h.zip / JVWPNT.HLP (.txt) < prev    next >
OS/2 Help File  |  1996-02-26  |  24KB  |  413 lines

  1.  
  2. ΓòÉΓòÉΓòÉ 1. Paint Utility Add on ΓòÉΓòÉΓòÉ
  3.  
  4. The functions contained in this DLL are designed to work with the JView imaging 
  5. system.  You will need to reference JView's main help file for help on controls 
  6. that are common to all JView dialogs, such as the colorwell.  This particular 
  7. module is provided by: 
  8.  
  9.                                  Crunch Products
  10.                                   P.O. Box 392
  11.                              Berkeley, CA 94701-0392
  12.                                        USA
  13.  
  14.  
  15. ΓòÉΓòÉΓòÉ 1.1. Overview ΓòÉΓòÉΓòÉ
  16.  
  17. There are two functions contained in the Paint Utility and they are designed to 
  18. be complementary. 
  19.  
  20. Painting is unique in the image editing arena in that it is truly beneficial to 
  21. be running on a system with at least 15 bit video hardware.  While every pain 
  22. has been taken to provide functionality to those who are using system with 8 
  23. bit color depth, when a 24 bit image is being worked upon the displayed image 
  24. will have errors and the processing will be slower than optimum.  If your image 
  25. is 8 bit, it will display correctly and there will be no speed penalty, however 
  26. some of the more advanced features will be unavailable. 
  27.  
  28. Color Depth  What exactly is the "depth" of the image and why is it important. 
  29. On the computer, an image is made up of a series of points, called pixels. 
  30. Each pixel is described by its three color primaries - red, green, and blue. 
  31. So, a certain shade of the color gray is made up of equal parts of red, green, 
  32. and blue. The concept of depth revolves around how accurately we can specify 
  33. the amount of red, green, or blue to use at a given pixel.  Going back to the 
  34. way OS/2 works, the intensity of each primary color can be specified as a 
  35. number between 0 and 255.  That is, there are 256 different levels of red, 256 
  36. levels of blue, and 256 levels of green.  In computerese, 8 bits is equal to 
  37. 256.  So when we say that your system's display is 8 bit, we mean that it can 
  38. only display a maximum of 256 different colors at one time.  The alternative, 
  39. 24 bit, means that any pixel can have a color that is specified as having 256 
  40. levels each of red, green, and blue for a total of 256 x 256 x 256  = 16.4 
  41. million possible colors.  So a 24 bit display system can show up to 16.4 
  42. million different colors.  As you can imagine, there is a big advantage to 
  43. having a 24 bit display system.  The big problem with 8 bit systems comes when 
  44. your image already is using 256 different colors.  If you want to add just one 
  45. more - sorry, we just can't do it.  This is not a problem with 24 bit systems. 
  46.  
  47.  
  48. ΓòÉΓòÉΓòÉ 1.2. Blank Canvas ΓòÉΓòÉΓòÉ
  49.  
  50. This creates a blank image of the specified size (pixels) in the specified 
  51. color.  If you are running at 24 bit color depth, you will have the choice of 
  52. creating your canvas at either 8 or 24 bit color depth.  If you have specified 
  53. in your JView Options to run your display at 8 bit color depth, then the canvas 
  54. has to be created at an 8 bit depth. 
  55.  
  56.  
  57. ΓòÉΓòÉΓòÉ 1.3. Paint Kit ΓòÉΓòÉΓòÉ
  58.  
  59. All the functions of the paint kit are contained in the Paint Kit dialog.  The 
  60. actual functions that you are presented with change depending on whether your 
  61. image is 8 bit color depth or 24 bit.  If you wish to use advanced painting 
  62. features, you will need to increase the color depth of your image with the Make 
  63. 24 bit command found in the Colors Add on. 
  64.  
  65. To truly take advantage of the paint kit you must forget about painting with 
  66. brushes, paper, and paint.  On the computer you have an applicator (which is 
  67. contained in the notebook of the right side of the dialog) and what is being 
  68. applied (which is contained on the left side).  It is by the combination of 
  69. these two that you apply your effect.  The help menus are designed so that the 
  70. Help button on the left side of the screen brings up help for the function 
  71. being applied, while the Help button on the right side brings up help on the 
  72. applicators. 
  73.  
  74. In addition to the Notebook, there is a floating palette of applicators that 
  75. initially is located on the right side of the screen and another palette of 
  76. substances initially located on the left side of the screen.  These palettes 
  77. simply mirror what is available in the Notebook.  Hopefully they are easier and 
  78. quicker to use, if not they can be hidden. 
  79.  
  80. A popup menu similar to the one always available under JView is provided, its 
  81. commands are similar to those available under other dialogs. 
  82.  
  83.  
  84. ΓòÉΓòÉΓòÉ 1.3.1. Button Bars ΓòÉΓòÉΓòÉ
  85.  
  86. There are several floating button bars available while painting.  At the bottom 
  87. of both the applicator and substance button bars is a question mark.  Selecting 
  88. this will cause help text to be available whenever you depress a particular 
  89. button. 
  90.  
  91. The bars can be sized to whatever preference you choose.  In the case that you 
  92. have sized them so that not all buttons can be displayed, two new buttons will 
  93. be added.  These are an up and a down arrow.  With these available buttons can 
  94. be cycled through what is available to be displayed. 
  95.  
  96. Double clicking on a button will cause the main Notebook to become visible so 
  97. that parameters associated with the particular button can be adjusted. 
  98.  
  99.  
  100. ΓòÉΓòÉΓòÉ 1.3.2. Applicators ΓòÉΓòÉΓòÉ
  101.  
  102. The following are different ways of applying the selected function.  Remember 
  103. that an applicator can be chosen by either accessing the main Notebook directly 
  104. or using the floating buttonbar of applicators. 
  105.  
  106.  
  107. ΓòÉΓòÉΓòÉ 1.3.2.1. AirBrush ΓòÉΓòÉΓòÉ
  108.  
  109. Airbrushes use compressed air to force paint through a nozzle and onto the 
  110. canvas.  The Paint Kit's airbrush starts with the paint (when the word paint 
  111. appears it means the paint function to be applied, i.e. the substance) coming 
  112. out as a solid circle of size Solid diameter. 
  113.  
  114. Because the paint is coming out mixed with air, you can have the density of the 
  115. paint fall off as you get farther away from the point at which you are aiming. 
  116. Think of this as a mist of paint falling on the canvas.  How far this mist will 
  117. fall is determined by the Fade radius which is measured from the edge of the 
  118. Solid diameter.  So, if your solid diameter is 10 (pixels), then adding a Fade 
  119. radius of 5 will cause 5 extra pixels to be partly painted all around the 
  120. airbrush. 
  121.  
  122. The airbrush starts out round.  But why limit yourself?  You can Squish the 
  123. airbrush to distort its output.  And along with the distortion you might want 
  124. to add Rotation to the spray. 
  125.  
  126. Finally, if your image is 24 bit you can specify an overall strength for the 
  127. airbrush. This is a percentage value where strengths less than 100 will cause 
  128. the airbrush affect to be blended into the image instead of just covering the 
  129. point(s) in question. 
  130.  
  131.  
  132. ΓòÉΓòÉΓòÉ 1.3.2.2. Floodfill ΓòÉΓòÉΓòÉ
  133.  
  134. Floodfill works on a spreading principle.  You start by specifying a seed 
  135. position (a starting pixel).  Next, neighboring pixels are compared to see if 
  136. they are similar.  Those that are get added to the region to be changed.  Thus, 
  137. only pixels that touch one another will be changed. 
  138.  
  139. You specify a Tolerance to control how close two colors need to be in order to 
  140. be considered similar.  Like most other applicators a strength value is 
  141. available when operating on 24 bit images.  This dictates how strongly the 
  142. substance in question will be applied. 
  143.  
  144.  
  145. ΓòÉΓòÉΓòÉ 1.3.2.3. Objects ΓòÉΓòÉΓòÉ
  146.  
  147. Objects are different geometric entities that you specify and create.  You can 
  148. create rectangles, ellipses, or do freehand drawing. 
  149.  
  150. There are two main states for an object, filled and non-filled.  If you are 
  151. creating filled objects, then in freehand mode they must be closed.  When you 
  152. create non-filled objects (Fill is not checked), the specified Line Width is 
  153. used to draw the object. 
  154.  
  155. Choosing Rounded will cause all sharp corners to be rounded when the object is 
  156. drawn.  Since ellipses do not have corners, this option has no effect on them. 
  157.  
  158. Strength is available when the image has 24 bit depth.  It dictates how 
  159. strongly the current substance will be applied.  It is a percentage term, with 
  160. 100 meaning full strength. 
  161.  
  162.  
  163. ΓòÉΓòÉΓòÉ 1.3.2.4. Pencil ΓòÉΓòÉΓòÉ
  164.  
  165. The pencil is a rectangular applicator.  Substances applied with the pencil can 
  166. go on much faster than with other applicators if the rotation is 0. 
  167.  
  168. The size of the pencil is adjusted with the sliders.  Additionally, the 
  169. rectangle can be rotated if desired, units of rotation are degrees, size is in 
  170. pixels. 
  171.  
  172. If the image has 24 bit color depth, the strength will allow you to specify how 
  173. strongly the substance will be applied.  Strength is indicated in percentage 
  174. terms, with 100 meaning full strength. 
  175.  
  176.  
  177. ΓòÉΓòÉΓòÉ 1.3.2.5. Stamp ΓòÉΓòÉΓòÉ
  178.  
  179. In stamping you take a copy of the selected area and then stamp out copies 
  180. wherever you want on your image.  You get to select the type of outline for 
  181. your stamp, namely Rectangle, Ellipse, et.c. Once you have created a stamp (by 
  182. using the left mouse button on your image), that stamp stays in effect until 
  183. you Clear  Once you have created your stamp, you apply it by using the left 
  184. mouse button. 
  185.  
  186. The Since Hit option means that you will be required to click the left mouse 
  187. button each time you wish to apply the stamp.  With this option off, you can 
  188. paint the stamp causing interesting effects. 
  189.  
  190. If your image has 24 bit color depth, the Strength parameter becomes active. 
  191. Strength is in percentage terms wherein a strength of 100 means that the 
  192. current stamp will completely cover the image underneath. Values less than 100 
  193. will cause the stamp to be blended. 
  194.  
  195.  
  196. ΓòÉΓòÉΓòÉ 1.3.2.6. Selection ΓòÉΓòÉΓòÉ
  197.  
  198. The types of selection paths available are the same as those available in the 
  199. base JView product.  The one addition is that the selected region can be 
  200. specified as being inside or outside the outlined path. 
  201.  
  202. A selected region could be used simply to copy specific regions to the 
  203. clipboard.  For painting, the real power of a selected region is that 
  204. operations outside the region are invalid.  In this way you can select part of 
  205. your image so that only the selected region will be operated upon. Keep in mind 
  206. that it is easy to place selection on and then forget about it because you have 
  207. scrolled such that the selection path is not being displayed. If this were to 
  208. occur, it would appear as if nothing is happening when you paint. 
  209.  
  210.  
  211. ΓòÉΓòÉΓòÉ 1.3.2.7. Text ΓòÉΓòÉΓòÉ
  212.  
  213. Just like with other applicators, you create text that will use the current 
  214. substance when being applied.  The options available for creating text are 
  215. similar to those available in most word processing documents so detailed 
  216. explanation of fonts are not covered here. 
  217.  
  218. In the text window, the specified Font, Style, Size, and Emphasis are applied 
  219. to the text being displayed.  These characteristics are applied to all the 
  220. letters, you cannot treat letters separately.  In addition to the 
  221. characteristics just listed, other options are available but they will not be 
  222. displayed in the text window as you are typing. 
  223.  
  224. These other options start with Skew, which is an angle that represents a 
  225. shearing of the text.  Next comes Angle which represents a rotations of all the 
  226. text about the origin.  Last is Orientation, which specifies in which 
  227. directions the text will flow. 
  228.  
  229. Text can be Left, Center, or Right justified by selecting the appropriate 
  230. button. 
  231.  
  232. Once the options have been selected and the text entered, use the right mouse 
  233. button to drag the text onto the image as desired. 
  234.  
  235. If the image has 24 bit color depth, the Strength parameter becomes active. 
  236. Strength is indicated in percentage terms and specifies how strongly a given 
  237. substance should be applied.  100 percent means full strength. 
  238.  
  239.  
  240. ΓòÉΓòÉΓòÉ 1.3.2.8. User Defined ΓòÉΓòÉΓòÉ
  241.  
  242. For our purposes, an applicator is nothing more than a series of black and 
  243. white pixels (on and off points, if you will).  To that end there is nothing 
  244. that prevents you from creating your own specialized applicator. 
  245.  
  246. The format for you applicator is an image file format that JView can read. Such 
  247. a file is Loaded and converted to black and white.  Pixels that appear black 
  248. will be applied, those that are white will be ignored.  Your applicator can be 
  249. inverted by using the Invert button. 
  250.  
  251. Some applicators, such as the airbrush, work well when used as a brush in the 
  252. conventional manner.  Other applicators, such as text really on work well when 
  253. applied in single doses.  Since it is unknown how to best use your unique 
  254. applicator, you have the option of specifying if it can only be applied in 
  255. single doses.  Use the Single application per hit checkbox to do this. 
  256.  
  257. If the image has 24 bit color depth, the Strength parameter will become active. 
  258. Use this to specify how strongly you want your applicator to apply the 
  259. substance in question. 
  260.  
  261.  
  262. ΓòÉΓòÉΓòÉ 1.3.3. Substances ΓòÉΓòÉΓòÉ
  263.  
  264. The following are the different types of substances that can be applied once 
  265. you have chosen an applicator.  The substances available will change depending 
  266. on whether the image has 8 bit or 24 bit color depth.  Images with 8 bit color 
  267. depth will have a subset of the substances available with 24 bit color depth. 
  268. Remember that a substance can be chosen by either accessing the main Notebook 
  269. directly or using the floating buttonbar of substances. 
  270.  
  271.  
  272. ΓòÉΓòÉΓòÉ 1.3.3.1. Adjust ΓòÉΓòÉΓòÉ
  273.  
  274. The adjust substance in only available to 24 bit images. 
  275.  
  276. Adjusting takes the area under consideration and adjusts each pixel, by color 
  277. channel, as indicated.  If Bright is selected, then all color channels are 
  278. adjust by the indicated amount. 
  279.  
  280.  
  281. ΓòÉΓòÉΓòÉ 1.3.3.2. Black and White ΓòÉΓòÉΓòÉ
  282.  
  283. This substance is only available with 24 bit images. 
  284.  
  285. This substance converts the pixels in question to black and white. The 
  286. conversion is based on the intensity of the underlying color.  Pixels with 
  287. intensities beneath the indicated Threshold are mapped to black, while others 
  288. are mapped to white. 
  289.  
  290.  
  291. ΓòÉΓòÉΓòÉ 1.3.3.3. Blur ΓòÉΓòÉΓòÉ
  292.  
  293. Blur and Sharpen require your image to have 24 bit color depth.  The blurring 
  294. function takes the pixels being modified and does an averaging of them. 
  295.  
  296. Sharpen is applied similarly to blur, but ideally the results are opposites. 
  297. Sharpen tries to increase the difference among a group of pixels. 
  298.  
  299.  
  300. ΓòÉΓòÉΓòÉ 1.3.3.4. Color ΓòÉΓòÉΓòÉ
  301.  
  302. This substance will change depending on whether your image has a color depth of 
  303. 24 bits or 8 bits.  If your image is 8 bit, the substance is simply a colorwell 
  304. where you edit the color by double-clicking or choosing the Select Color 
  305. button. 
  306.  
  307. If your image is 24 bit, your options expand.  You still edit the color by 
  308. double-clicking on the colorwell.  In addition you can choose Intensity Mapping 
  309. which causes the intensity of your image to be preserved while the color (Hue 
  310. and Saturation) get changed to the new color.  For this reason when using 
  311. intensity mapping it is best to choose a high intensity color for the colorwell 
  312.  
  313.  
  314. ΓòÉΓòÉΓòÉ 1.3.3.5. Emboss ΓòÉΓòÉΓòÉ
  315.  
  316. Embossing and engraving are only available for use on images with 24 bit color 
  317. depth. 
  318.  
  319. Emboss gives the illusion that the current applicator is pushing up through the 
  320. image.  Engrave does the opposite, giving the illusion that the applicator has 
  321. been pushed into the image. 
  322.  
  323. Depth is an indication of how strongly the pressure will be applied. Higher 
  324. values equal greater pressure. 
  325.  
  326.  
  327. ΓòÉΓòÉΓòÉ 1.3.3.6. Erase ΓòÉΓòÉΓòÉ
  328.  
  329. Erase is used in conjunction with the Update and Undo buttons.  Erase takes the 
  330. most recently updated copy of your image and uses that as the substance to be 
  331. applied.  With Erase, there is no need for your typical undo feature.  Instead, 
  332. you basically un-paint your picture! 
  333.  
  334.  
  335. ΓòÉΓòÉΓòÉ 1.3.3.7. Gradient ΓòÉΓòÉΓòÉ
  336.  
  337. Gradient refers to a series of colors that vary between endpoints.  Those 
  338. endpoints are other colors.  You may specify up to four different colors to 
  339. give your final substance a unique blend.  You do not need to use all four 
  340. colors, but a minimum of two needs to be specified.  Which two depends on which 
  341. radio button option is selected. 
  342.  
  343. There are three possible blendings of colors available, L - R, U - D, and 4 
  344. point. Respectively these represent a 2 color gradient that is created from the 
  345. Upper Left color specified and the Upper Right color specified (L - R).  The 
  346. next gradient is also based on two colors and is made from the Upper Left color 
  347. and the Down Left color (U - D).  The final possible gradient is based on all 
  348. four specified colors (4 point). 
  349.  
  350. The control located in the upper right corner of the notebook page is a 
  351. representation of what your gradient looks like. 
  352.  
  353. Because the gradient is based on colors at fixed locations, you need the 
  354. ability to rotate the gradient to achieve additional effects.  Rotation is 
  355. given in degrees. 
  356.  
  357.  
  358. ΓòÉΓòÉΓòÉ 1.3.3.8. Grayscale ΓòÉΓòÉΓòÉ
  359.  
  360. This substance will turn whatever it is applied to into its grayscale 
  361. equivalent. 
  362.  
  363.  
  364. ΓòÉΓòÉΓòÉ 1.3.3.9. Pattern ΓòÉΓòÉΓòÉ
  365.  
  366. This substance requires your image to have 24 bit color depth. Because your 
  367. applicators are really smart, they can apply a pattern as well as simple 
  368. colors.  What is a pattern?  It's any image file JView can read!!! The pattern 
  369. you choose is tiled to fit the size of the image you are currently painting. 
  370. Initially, your pattern is aligned to start at the lower left corner of your 
  371. image.  Because you might wish it to be shifted from there, you can specify 
  372. both X offset and Y offset to shift the starting point. 
  373.  
  374. Load you might guess, loads a new pattern.  Update on the other hand, takes the 
  375. current pattern and applies the indicated X and Y offsets.  Thus if you change 
  376. either of the offsets, you will need to hit the Update button to make the 
  377. changes effective. 
  378.  
  379.  
  380. ΓòÉΓòÉΓòÉ 1.3.3.10. Replace ΓòÉΓòÉΓòÉ
  381.  
  382. Replace works with both 8 and 24 bit color depth images.  Replace takes the 
  383. color indicated with Current and replaces it with the color indicated with New. 
  384.  
  385. You can also use a Tolerance in matching colors. The Tolerance ranges from 0 to 
  386. 255 and works in the RGB colorspace.  By using a tolerance, not only will 
  387. colors that exactly match the Current color be replaced, but a range of colors 
  388. around the Current color (the range defined by tolerance) will be replaced. 
  389. So, a higher tolerance means more colors will be replaced. 
  390.  
  391.  
  392. ΓòÉΓòÉΓòÉ 1.3.4. Control Buttons, Popup Menu ΓòÉΓòÉΓòÉ
  393.  
  394. The buttons located at the bottom of the Paint Dialog are used as follows. 
  395.  
  396. Zoom  Aside from magnifying the entire image by use of the PopUp menu, you can 
  397. use the zoom feature.  This allows you to isolate a region of the image you are 
  398. interested in working on.  After a Zoom has begun, you either UnZoom when 
  399. finished or Cancel the zoom. 
  400.  
  401. Done  Exits paint and the changes are saved. 
  402.  
  403. Cancel  If in Zoom mode, this cancels the current zoom.  If not in Zoom mode, 
  404. the quits the Paint Kit and discards all changes to the image. 
  405.  
  406. Undo abandons all changes made since the last time the Update button was used. 
  407.  
  408. Update takes the current state of the image and saves it.  This is used in 
  409. conjunction with both the Undo button and the Erase substance. 
  410.  
  411. Image makes the Image window active. 
  412.  
  413. Tools will show all available tool (applicators, substances, etc.) windows.